package com.cloud.listener;

import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Component;

@Component("email")
public class EmailServer implements HandlerEvents{

    @Override
    public void push(Object param){
        SendEmail emailParam =  (SendEmail)param;
        JSON.parse("{=dededed");
        System.out.println("email msg :----------->"+emailParam.toString());

    }
}
